package com.fc.service;

import com.fc.model.SNSUserInfo;
import com.fc.model.ShareBean;


/**
 * Created by chenyan on 16/6/6.
 *
 */
public interface PayFlowService {


    void insertId(String openId, String parentId, int shareState);

    void keepUserInfo(SNSUserInfo snsUserInfo);

    int isUserInfoHave(String openId);

    ShareBean selectConnectionInfo(String openId, String parentId, int activityId);

    void updateShareState(String openId, String parentId, int activityId);

    void updateUserActivity(String openId, int activityId, double redEnvelope);

    void insertUserActivity(String openId, int activityId, int shareState, double redEnvelope);

    ShareBean selectUserActivity(String openId, int activityId);

}
